// 判断当前设备是否是用手机端
export const isMobile = () => {
  const ua = navigator.userAgent.toLowerCase();
  return /iphone|ipad|ipod|android|blackberry|windows phone/i.test(ua);
}